package cn.kgc.service;

import cn.kgc.mapper.HauthMapper;
import cn.kgc.pojo.Hauth;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author shkstart
 * @create 2020-03-31 22:29
 */
@Service("hauthService")
public class HauthServiceImpl implements HauthService {

    @Resource
    HauthMapper hauthMapper;

    @Override
    public List<Hauth> getAllAuth() {
        return hauthMapper.selectByExample(null);
    }
}
